package com.mi.rof;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.context.annotation.ComponentScan;

@SpringBootApplication
@MapperScan(basePackages = {"com.mi.rof.user.mapper", "com.mi.rof.engineer.mapper"})
@ComponentScan(basePackages = {"com.mi.rof.user", "com.mi.rof.engineer", "com.mi.rof"})
@EnableCaching
public class RofApplication {

    public static void main(String[] args) {
        SpringApplication.run(RofApplication.class, args);
    }

}
